package cn.stylefeng.guns.sys.modular.system.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 报销单表
 * </p>
 * @author liuy
 * @since
 */
@TableName("btyy_bxd")
@Data
public class BtyBxd implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;
    /**
     * 编号
     */
    @TableField("bh")
    @Excel(name = "编号")
    private String bh;
    /**
     * 支出金额
     */
    @TableField("zcje")
    private String zcje;
    /**
     * 用户银行卡号
     */
    @TableField(exist = false)
    private String yhk;
    /**
     *摘要
     */
    @TableField("zy")
    private String zy;
    /**
     * 备注
     */
    @TableField("bz")
    private String bz;
    /**
     * 报销档案外键
     */
    @TableField("bty_bxda_id")
    private String btyBxdaId;
    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    /**
     *报销人
     */
    @TableField(exist = false)
    private String bxr;
    /**
     *审核状态 0未审核1已审核
     */
    private Integer status;

    /**
     *报销状态 0未报销1已报销
     */
    private Integer flag;
    /**
     *店名
     */
    @TableField(exist = false)
    private String dm;
    @TableField(exist = false)
    private String sumZcje;
    /**
     * 图片
     */
    @TableField("picture")
    private String picture;
    @TableField(exist = false)
    private Integer roleFlag;
    @TableField("yaoma")
    private String yaoMa;
    /**
     *审核备注
     */
    @TableField("shbz")
    private String  shbz;
    /**
     *驳回原因
     */
    @TableField("bhyy")
    private String  bhyy;

    /**来源*/
    @TableField("born")
    private Integer born;

    /**来源值*/
    @TableField("born_val")
    private String bornVal;
    /**摘要id*/
    @TableField("zyid")
    private Long zyid;
}
